//
// Created by xumy on 2021/8/3.
//

#ifndef ABOUTCLASS_POINT_H
#define ABOUTCLASS_POINT_H
#include "iostream"

using namespace std;

class Point
{
protected:
    float x, y;

public:
    Point(float a = 0, float b = 0);
    float getX();
    float getY();
    void setPoint(float, float);
    friend ostream& operator<<(ostream &output, const Point &point);    // 运算符重载
};
#endif //ABOUTCLASS_POINT_H
